<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>文章列表--layui后台管理模板 2.0</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="../../layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="../../css/public.css" media="all" />
</head>

<body class="childrenBody">
    <form class="layui-form" style="width:80%;">
        <input type="hidden" id="BackUrl">
        <input type="hidden" id="ID">
        <div class="layui-form-item  layui-col-xs12">
            <div class="layui-inline">
                <label class="layui-form-label">叶子标识ID</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input CascadeId" lay-verify="required" placeholder="请输入叶子标识ID">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">模块名称</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input Name" lay-verify="required" placeholder="请输入模块名称">
                </div>
            </div>
        </div>

        <div class="layui-form-item  layui-col-xs12">
            <div class="layui-inline">
                <label class="layui-form-label">父节点ID</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input ParentId" lay-verify="required" placeholder="请输入父节点ID">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">父节点名称</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input ParentName" lay-verify="required" placeholder="请输入父节点名称">
                </div>
            </div>
        </div>

        <div class="layui-form-item   layui-col-xs12">
            <div class="layui-inline">
                <label class="layui-form-label">Icon图标</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input IconName" lay-verify="required" placeholder="请输入Icon图标">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">节点类型</label>
                <div class="layui-input-block">
                    <select name="IsRoot" class="IsRoot" lay-filter="IsRoot">
                                <option value="0">叶子节点</option>
                                <option value="1">根节点</option>
                            </select>
                </div>
            </div>
        </div>

        <div class="layui-form-item  layui-col-xs12">
            <div class="layui-inline">
                <label class="layui-form-label">排序号</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input SortNo" lay-verify="required" placeholder="请输入排序号">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">模块状态</label>
                <div class="layui-input-block">
                    <select name="Status" class="Status" lay-filter="Status" autocomplete="off">
                                    <option value="0">停用</option>
                                    <option value="1">启用</option>
                                </select>
                </div>
            </div>
        </div>

        <div class="layui-form-item   layui-col-xs12">
            <label class="layui-form-label">网页地址</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input Url" lay-verify="required" placeholder="请输入Url">
            </div>
        </div>

        <div class="layui-form-item layui-row layui-col-xs12">
            <div class="layui-input-block">
                <button class="layui-btn layui-btn-sm" lay-submit="" lay-filter="addModule">立即添加</button>
                <button class="layui-btn layui-btn-sm layui-btn-primary btnCancel">取消</button>
            </div>
        </div>
    </form>
    <script type="text/javascript" src="../../layui/layui.js"></script>

    <script type="text/javascript" src="modulesAdd.js"></script>

</body>

</html>